package com.bigegg.employee.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 招聘公告对象 job_board
 * 
 * @author sun
 * @date 2022-08-15
 */
public class Board extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** 公告名称 */
    @Excel(name = "公告名称")
    private String boardName;

    /** 公司ID */
    @Excel(name = "公司ID")
    private String companyInfoId;

    /** 公告详情 */
    @Excel(name = "公告详情")
    private String boardDetail;

    /** 有效期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "有效期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date validDate;

    /** 发布时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "发布时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date publishDate;

    /** 状态 */
    @Excel(name = "状态")
    private Long status;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setBoardName(String boardName) 
    {
        this.boardName = boardName;
    }

    public String getBoardName() 
    {
        return boardName;
    }
    public void setCompanyInfoId(String companyInfoId) 
    {
        this.companyInfoId = companyInfoId;
    }

    public String getCompanyInfoId() 
    {
        return companyInfoId;
    }
    public void setBoardDetail(String boardDetail) 
    {
        this.boardDetail = boardDetail;
    }

    public String getBoardDetail() 
    {
        return boardDetail;
    }
    public void setValidDate(Date validDate) 
    {
        this.validDate = validDate;
    }

    public Date getValidDate() 
    {
        return validDate;
    }
    public void setPublishDate(Date publishDate) 
    {
        this.publishDate = publishDate;
    }

    public Date getPublishDate() 
    {
        return publishDate;
    }
    public void setStatus(Long status) 
    {
        this.status = status;
    }

    public Long getStatus() 
    {
        return status;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("boardName", getBoardName())
            .append("companyInfoId", getCompanyInfoId())
            .append("boardDetail", getBoardDetail())
            .append("validDate", getValidDate())
            .append("publishDate", getPublishDate())
            .append("status", getStatus())
            .append("createTime", getCreateTime())
            .append("createBy", getCreateBy())
            .append("updateTime", getUpdateTime())
            .append("updateBy", getUpdateBy())
            .toString();
    }
}
